package com.ruoyi.system.service.waterService.waterServiceImpl;

import com.ruoyi.system.domain.waterEnity.BuildingEntity;
import com.ruoyi.system.mapper.waterMapper.BuildMapper;
import com.ruoyi.system.service.waterService.BuildingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BuildingServiceImpl implements BuildingService {
    @Autowired
    private BuildMapper buildMapper;

    @Override
    public List<BuildingEntity> selectAllBuild() {
        return buildMapper.selectAllBuild();
    }
}
